<ion-view view-title="Sign Up" >
<ion-nav-bar class="bar-assertive"> </ion-nav-bar>
<form action="http://localhost/carvicewebservice/test.php" style="margin-top: 50px" id="imageForm" method="post" enctype="multipart/form-data">
    Select image to upload:
    <input type="file" name="fileToUpload" id="fileToUpload">
  </form>
<form name="myform"  novalidate method="post" enctype="multipart/form-data">
<ion-content class=" has-footer" scroll="true" style="margin-top: 80px">
            <label class="item item-input">
                <span class="error" ng-show="showMsgs && myform.myInputF.$error.required">*</span>
                <span class="input-label">Full Name :</span>
                <input type="text" name="myInputF" ng-model="newuser.fullName" required>
            </label>    
             <label class="item item-input">
                 <span class="error" ng-show="showMsgs && myform.myInput.$error.required">*</span>
                <span class="input-label">User Name :</span>
                <input type="text" ng-model="newuser.userName">
            </label>
           
            <label class="item item-input">
                <span class="input-label">Email ID :</span>
                <input type="email" name="myInputE" ng-model="newuser.email" required>
              </label>
              <div role="alert">
                  <span class="error" ng-show="showMsgs && myform.myInputE.$error.email">Not valid email!</span>
              </div>
             
              <label>
                  <span class="input-label" style="margin-left:5%;width:110%">
                      <label class="error">*</label> All feilds are mandetary
                  </span>
              </label>
    </ion-content>
</form> 

    <ion-footer-bar class="bar-calm">
         <div class="col col-center footerdiv">
            <button class="button button-calm button-block" ng-click="newusercrt(myform)">
               <font size="4">Submit</font>
              </div>
            </button>
    </ion-footer-bar>


</ion-view>
